<div class="breadcrumbs" id="breadcrumbs">
	<ul class="breadcrumb">
		<li>
			<i class="home-icon fa fa-home"></i>
			<a href="#">会员</a>
		</li>
		<li>
			<a href="#">提现管理</a>
		</li>
		<li class="active">提现申请列表回收站</li>
	</ul>
</div>
<div class="content">
	<form action="#" method="post" name="searchForm">
		<table class="table list-table">
			<colgroup>
				<col width="35px" />
				<col  />
				<col width="120px" />
				<col width="120px" />
				<col width="180px" />
				<col width="120px" />
				<col width="90px" />
				<col width="90px" />
			</colgroup>
			<caption>
                <a class="btn btn-default" href='{url:/member/withdraw_list}'>
                    <i class="fa fa-reply"></i>返回列表
                </a>
                <a class="btn btn-default" onclick="selectAll('id[]')">
                    <i class="fa fa-check"></i>全选
                </a>
                <a class="btn btn-default" onclick="delModel({'form':'searchForm',link:'{url:/member/withdraw_del}'});">
                    <i class="fa fa-close"></i>批量删除
                </a>
                <a class="btn btn-default" onclick="delModel({msg:'是否恢复这次数据？',link:'{url:/member/withdraw_update/type/res}',form:'searchForm'});">
                    <i class="fa fa-recycle"></i>批量恢复
                </a>
			</caption>
			<thead>
				<tr>
					<th></th>
					<th>用户名</th>
					<th>当前余额</th>
					<th>申请提现金额</th>
					<th>申请时间</th>
					<th>收款人姓名</th>
					<th>状态</th>
					<th>操作</th>
				</tr>
			</thead>

			<tbody>
            {set:$queryObj=Api::run('getListByWithdraw',array('is_del'=>'1'));$resultData=$queryObj->find()}
            {foreach:items=$resultData}
				<tr>
					<td><input type="checkbox" name="id[]" value="{$item['id']}" /></td>
					<td>{$item['username']}</td>
					<td>{$item['balance']}</td>
					<td>{$item['amount']} 元</td>
					<td>{$item['time']}</td>
					<td>{$item['name']}</td>
					<td>{echo:AccountLog::getWithdrawStatus($item['status'])}</td>
					<td>
						<a href='javascript:void(0)' onclick="delModel({link:'{url:/member/withdraw_update/type/del/id/$item[id]}',msg:'确定要把此信息放入到回收站么？'});"><i class='operator fa fa-close'></i></a>
					</td>
				</tr>
				{/foreach}
			</tbody>
		</table>
	</form>
</div>
{$queryObj->getPageBar()}
